package Tests;

import static org.junit.Assert.*;

import javax.swing.JButton;
import javax.swing.JPanel;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import UserInterface.gridUI;
import UserInterface.initUI;
import UserInterface.tableUI;


public class gridUITest {
	
	private static gridUI grid;
	private static initUI init = new initUI("admin");
//	private static tableUI table = new tableUI(init);
//	
//	@BeforeClass
//	public static void setUpBeforeClass() throws Exception {
//		grid = new gridUI(init, table);
//	}
//	
//
//	@Test
//	public void testGridUI() {
//		assertNotNull(grid); // Testing if its not null
//		assertEquals(table, grid.getTable()); // Testing if the constructor properly created the table
//		assertEquals(init, grid.getInit()); // Testing if the constructor properly created the init
//	}
//	
//	@Test
//	public void testGridBackButton() {
//		assertEquals("Back to Menu", grid.getGridBackButton().getActionCommand());
//	}
//	
//	@Test
//	public void testTableFromGrid() {
//		assertEquals("Table", grid.getTableFromGrid().getActionCommand());
//	}
//	
}
